<template>
  <div>
    <el-button type="primary" :disabled="checkPermission(point.POINTS_USER_ADD)">添加</el-button>
    <el-button type="success" :disabled="checkPermission(point.POINTS_USER_UPDATE)">编辑</el-button>
    <el-button type="danger" :disabled="checkPermission(point.POINTS_USER_DELETE)">删除</el-button>
  </div>
  <!--  :disabled="checkPermission('point-user-edit')" -->
</template>

<script>
import checkPermissions from '@/mixin/checkPermissions.js'
import { mapGetters } from 'vuex'
export default {
  name: 'Permission',
  filters: {},
  components: {},
  mixins: [checkPermissions],
  props: {},
  data() {
    return {}
  },
  computed: {
    ...mapGetters(['point'])
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {
  }
}
</script>

<style scoped lang='less'>

</style>
